a795cce626e4e926a785355a32e1cf5350af68e5,PaginizeLib/src/net/neevek/android/lib/paginize/ContainerViewManager.java,ContainerViewManager,animateShadowViewForShowing,#,109

Before Change


    void animateShadowViewForShowing() {
        mSwipeableContainerView.mShadowView.setVisibility(View.VISIBLE);
        mSwipeableContainerView.mShadowView.bringToFront();
        animateView(mSwipeableContainerView.mShadowView, Animation.ABSOLUTE, mSwipeableContainerView.getWidth() - mSwipeableContainerView.mShadowView.getWidth(), Animation.RELATIVE_TO_SELF, -1, new Animation.AnimationListener() {
            public void onAnimationStart(Animation animation) {
            }

            public void onAnimationRepeat(Animation animation) {
            }

            public void onAnimationEnd(Animation animation) {
                mSwipeableContainerView.mShadowView.setVisibility(View.INVISIBLE);
            }
        });
    }

    SwipeableContainerView createContainerView(Context context) {

After Change


        };

        if (animationDirection == PageAnimator.AnimationDirection.FROM_RIGHT) {
            animateView(mSwipeableContainerView.mShadowView, Animation.ABSOLUTE, mSwipeableContainerView.getWidth() - mSwipeableContainerView.mShadowView.getWidth(), Animation.RELATIVE_TO_SELF, -1, animationListener);
        } else {
            animateView(mSwipeableContainerView.mShadowView, Animation.RELATIVE_TO_SELF, -1, Animation.ABSOLUTE, mSwipeableContainerView.getWidth() - mSwipeableContainerView.mShadowView.getWidth(), animationListener);
        }